Fixed link by changing it from .ui to .cpp
authorPablo Ariño Muñoz <progpabarino@gmail.com>
Tue, 25 Feb 2025 15:06:44 +0000 (16:06 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 26 Feb 2025 11:59:47 +0000 (11:59 +0000)
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
src/gui/generalsettings.cpp
src/gui/generalsettings.ui

index cf0794a15c17c87190fff698898fde539c63e90b..addcada5a1524818b956f7b9b11eab21523c518b 100644 (file)
@@ -21,6 +21,7 @@
 #include "owncloudsetupwizard.h"
 #include "accountmanager.h"
 #include "guiutility.h"
+#include <qnamespace.h>
 
 #if defined(BUILD_UPDATER)
 #include "updater/updater.h"
@@ -187,7 +188,10 @@ GeneralSettings::GeneralSettings(QWidget *parent)
     , _ui(new Ui::GeneralSettings)
 {
     _ui->setupUi(this);
-
+    
+    _ui->labelInterval->setText("seconds (if <a href=\"https://github.com/nextcloud/notify_push\">Client Push</a> is unavailable)");
+    _ui->labelInterval->setTextFormat(Qt::RichText);
+    _ui->labelInterval->setTextInteractionFlags(Qt::TextBrowserInteraction);
     _ui->labelInterval->setOpenExternalLinks(true);
 
     connect(_ui->serverNotificationsCheckBox, &QAbstractButton::toggled,
index c489485517c5b1777720864b5f95a84836f6f88d..1d79bd1f3224a989cdbe129caed047ff3a9a3687 100644 (file)
         <item>
          <widget class="QLabel" name="labelInterval">
           <property name="text">
-           <string extracomment="Trailing part of &quot;Server poll interval&quot; ">seconds (if <a href="https://github.com/nextcloud/notify_push">Client Push</a> is unavailable)</string>
+           <string extracomment="Trailing part of &quot;Server poll interval&quot; ">seconds (if Client Push is unavailable)</string>
           </property>
          </widget>
         </item>